﻿using Mes.Domain.BoundedContext.EntityBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.AccessControl;
using System.Text;
using System.Threading.Tasks;

namespace Mes.Domain.BoundedContext.Entities.WorkOrders
{
    public class JobBomStep : NoIdEntityBase
    {
        public JobBomStep() { }

        public JobBomStep(string woId, string operId, int bomPos, int stepGrpId, int stepNo, double qtyPerParentItem)
        {
            Wo_Id= woId;
            Oper_Id= operId;
            Bom_Pos= bomPos;
            Step_Grp_Id= stepGrpId;
            Step_No= stepNo;
            Qty_Per_Parent_Item= qtyPerParentItem;
        }


        public string Wo_Id { get; set; }

        public string Oper_Id { get; set; }

        public int Bom_Pos { get; set; }

        public int Step_Grp_Id { get; set; }

        public int Step_No { get; set; }

        public double Qty_Per_Parent_Item { get; set; }

        public string? Last_Edit_Comment { get; set; }

        public string? Last_Edit_By { get; set; }

        public DateTime Last_Edit_At { get; set; }

        public long Mod_Id { get; set; }

        public int Row_Id { get; set; }
    }
}
